/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package station3d;

/**
 * Chyba, která může nastat při načítání zdrojů.
 * @author Martin
 */
public class ResourceError extends Exception {

    private String filename;

    public ResourceError(String filename, String message) {
        super(message);
        this.filename = filename;
    }

    public ResourceError(String filename, String message, Throwable cause) {
        super(message, cause);
        this.filename = filename;
    }

    public String getFilename() {
        return this.filename;
    }

}
